﻿#define _CRT_SECURE_NO_WARNINGS
#include"list.h"
#include<algorithm>

int main()
{
	
	czy::list<int> a;
	a.push_back(1);
	a.push_back(2);
	a.push_back(3);
	a.push_back(4);
	auto it = a.begin();
	while (it != a. end())
	{
		cout << *it << " ";
		it++; 
	}

	return 0;
}
